package MsgPackage;

/**
 * @author Omri Barda		039725890 
 * @author Amit Joseph		034608547
 * @author Gilad Shpigel  	300162393
 * @author Elad Elbaz		040539959
 * @version June 2012
 */

import entities.ExtractedExam;

public class LockExamPack extends MessagePack {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ExtractedExam extExm;

	/**
	 * constructor
	 * 
	 * @param extExm
	 */
	public LockExamPack(ExtractedExam extExm) {
		this.extExm = extExm;
		this.op = OpType.LockExam;
	}

	/**
	 * 
	 * @param extExm
	 *            exam to be locked
	 */
	public void setExtExm(ExtractedExam extExm) {
		this.extExm = extExm;
	}

	/**
	 * 
	 * @return the exam to be locked
	 */
	public ExtractedExam getExtExm() {
		return extExm;
	}

}
